package com.ruoyi;

import com.alipay.demo.trade.config.Configs;
import com.ruoyi.web.controller.app.pay.wechat.util.ConfigUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ImportResource;

/**
 * 启动程序
 * 
 * @author ruoyi
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@MapperScan("com.ruoyi.*.mapper")
public class RuoYiApplication
{
    public static void main(String[] args)
    {

        Configs.init("zfbinfo.properties");
        ConfigUtil.init("wxinfo.properties");
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(RuoYiApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  若依启动成功   ლ(´ڡ`ლ)ﾞ  \n"
                        /**
                         *                             _ooOoo_
                         *                            o8888888o
                         *                            88" . "88
                         *                            (| -_- |)
                         *                            O\  =  /O
                         *                         ____/`---'\____
                         *                       .'  \\|     |//  `.
                         *                      /  \\|||  :  |||//  \
                         *                     /  _||||| -:- |||||-  \
                         *                     |   | \\\  -  /// |   |
                         *                     | \_|  ''\---/''  |   |
                         *                     \  .-\__  `-`  ___/-. /
                         *                   ___`. .'  /--.--\  `. . __
                         *                ."" '<  `.___\_<|>_/___.'  >'"".
                         *               | | :  `- \`.;`\ _ /`;.`/ - ` : | |
                         *               \  \ `-.   \_ __\ /__ _/   .-` /  /
                         *          ======`-.____`-.___\_____/___.-`____.-'======
                         *                             `=---='
                         *          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         *                     佛祖保佑        永无BUG
                         */
                     );
    }
}